package com.lyncs.ods.resp;

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author alex
 * @date 2022/5/19 00:00
 * @description
 */
@Data
@Accessors(chain = true)
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class TxnCountResp {

    @ApiModelProperty(value = "与登录方企业相关的订单数量")
    private Integer orderCount;

    @ApiModelProperty(value = "与登录方企业相关的交付单数量")
    private Integer deliverCount;

    @ApiModelProperty(value = "与登录方企业相关的结算单数量")
    private Integer settlementCount;

    public TxnCountResp(Integer orderCount, Integer deliverCount, Integer settlementCount) {
        this.orderCount = orderCount;
        this.deliverCount = deliverCount;
        this.settlementCount = settlementCount;
    }
}
